package com.ye.personnel.api.flow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: yeubo
 * @Date: 2024/1/2 15:05
 */
@Data
public class CheckFlowDto {

    @ApiModelProperty("流程id")
    @NotNull(message = "请选择审批流程")
    private String flowId;

    @ApiModelProperty("人员列表(转任流程-调出单位确认时选择)")
    private List<StartFlowPersonnelListDto> startFlowPersonnelList;

    @ApiModelProperty("附件列表(审核时)")
    private List<String> attachmentList;

    @ApiModelProperty("审核结果 1 通过 2 拒绝")
    private Integer flowStatus;

    @ApiModelProperty("拒绝理由")
    private String refuseReason;

    @ApiModelProperty("转任时指定调出单位")
    private String targetDepartmentId;

}
